-- 自定义lua处理模块

local count = 0
local function counter()
	count = count +1
	ngx.say("access count :",count)
end

-- 这里是通过_M 来暴露模块的函数
local _M = {
	counter = counter
}

return _M